<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Tools/AdminTimeline/index')}">大事记列表</a></li>
			<li class="active"><a href="{:U('Tools/AdminTimeline/add')}">添加编辑大事记</a></li>
		</ul>

		<form class="form-horizontal js-ajax-form" method="post" action="" >
			<input type="hidden" name="timeline_id" value="{$timeline['timeline_id']}" />

			<div class="row-fluid">
				<div class="span12">
					


					<div class="control-group">
						<label class="control-label" for="input-catename">大事记年月</label>
						<div class="controls">
							<input class="js-date" type="text" id=""  name="timeline_year_month"  value=""/><!--TODO 填加的时候，时间不能赋值，否则报1970-01-01-->
							<span class="help-block"></span>
						</div>
					</div>


					<div class="control-group">
						<label class="control-label" for="input-catename">大事记内容</label>
						<div class="controls"> 
							<textarea class="input-xlarge" id="input-catename" name="content">{$timeline['content']}</textarea>
							<span class="help-block"></span>
						</div>
					</div>


					
				</div>
			</div>
			<div class="form-actions">
				<button type="submit" class="btn btn-primary  js-ajax-submit">保存</button>
				<a class="btn" href="javascript:history.back(-1);">返回</a>
			</div>
		</form>


	</div>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>
